package com.martin.fast_frame_compose.page.dialog.bottom

import androidx.compose.runtime.mutableStateOf
import com.martin.fast_frame_compose.base.BaseDialogModel

class BottomDemoDialogModel(
    // 回调
    val callBack: (String) -> Unit,
) : BaseDialogModel() {

    val message = mutableStateOf("")

    /**
     * 确认点击
     */
    fun onConfirmClick() {
        callBack(message.value)
        showState.value = false
    }

}